<template>
  <div style="border: 2px solid #000;">
    <h5>子组件</h5>
    <h5>异步内容：{{ content }}</h5>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue'
export default defineComponent({
  setup () {
    return new Promise((resolve) => {
      setTimeout(() => {
        return resolve({
          content: '234545'
        })
      }, 2000)
    })
  }
})
</script>

<style>
</style>
